<!--搜索与重置-->
<template>
  <div style="margin: 0 auto;text-align:center;">
    <span>
      <el-button class="filter-item" size="mini" type="primary" icon="el-icon-search" plain @click="crud.toQuery">
        搜索
      </el-button>
      <el-button v-if="crud.optShow.reset" class="filter-item" size="mini" type="info" icon="el-icon-refresh-left" plain @click="crud.resetQuery()">
        重置
      </el-button>
    </span>
  </div>
</template>
<script>
import { crud } from '@crud/crud'
export default {
  mixins: [crud()],
  props: {
    itemClass: {
      type: String,
      required: false,
      default: ''
    }
  }
}
</script>
